<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
    <section th:if="${#lists.isEmpty(dataMap['list'])}" section class="no-data__wrap">
        <em>&nbsp;</em>
        <p>亲，还没有兑换记录哦</p>
    </section>

    <th:block  th:if="!${#lists.isEmpty(dataMap['list'])}" th:each="entity:${dataMap['list']}">

        <li class="item-content mt5" th:if="${!(entity['shopType'] eq 'ENTITY' ) and !(entity['shopType'] eq 'VIRTUAL_GOODS' )  }">
            <a href="javascript:;" class="course-info">
                <div class="item-media">
                    <div class="">
                        <img  th:if="!${entity['shopType'] eq 'CASH'} " class="wm-img" th:src="@{{path}/front/mobile/v3/img/integral/integra-goot.jpg?v={v}(path=${staticPath},v=${v})}"  th:attrappend="data-src=${entity['integralGood']}!=null?${entity['integralGood']['imageMap']['mobileUrlMap']['large']}:''" width="120" alt="">
                        <img  th:if="${entity['shopType'] eq 'CASH'}" class="wm-img" th:src="@{{path}/front/mobile/v3/img/integral/csah.jpg?v={v}(path=${staticPath},v=${v})}"  width="120" alt="">

                    </div>
                </div>
                <div class="item-inner">
                    <section style="width: 100%">
                        <aside>
                            <span  th:if="!${entity['shopType'] eq 'CASH'}"   class="c-000 fs7" th:text="${entity['name']}">商品名称圣诞活动就要这么做</span>
                            <span  th:if="${entity['shopType'] eq 'CASH'}" class="c-000 fs7" th:text="'兑换现金：'+${entity['exchangeCash']}+'元'"></span>
                        </aside>
                        <aside class="mt5 row no-gutter">
                            <aside class="col-66">
                                <span class="c-888 fs4" th:text="${#strings.substring(entity['createTime'],0,16)}">2019-10-22 12:22</span>
                            </aside>
                            <aside class="col-33 text-right">
                                <span class="c-green fs4">已领取</span>
                            </aside>
                        </aside>
                    </section>
                </div>
            </a>
        </li>
        <li class="item-content mt5" th:if="${entity['shopType'] eq 'ENTITY'} ">
            <a href="javascript:;" class="course-info">
                <div class="item-media">
                    <div class="">
                        <img class="wm-img"   th:src="@{{path}/front/mobile/v3/img/integral/integra-goot.jpg?v={v}(path=${staticPath},v=${v})}" th:attrappend="data-src=${entity['integralGood']}!=null?${entity['integralGood']['imageMap']['mobileUrlMap']['large']}:''" width="120" alt="">
                    </div>
                </div>
                <div class="item-inner">
                    <section style="width: 100%">
                        <aside>
                            <span class="c-000 fs7" th:text="${entity['name']}">商品名称圣诞活动就要这么做</span>
                        </aside>
                        <aside class="mt5 row no-gutter">
                            <aside class="col-66">

                                <span class="c-888 fs4" th:text="${#strings.substring(entity['createTime'],0,16)}">2019-10-22 12:22</span>
                            </aside>
                            <aside class="col-33 text-right">
                                <span class="c-888 fs4" th:classappend="(${entity['courierNumber']}!=null and ${entity['courierNumber']}!='')?'checkDelivery':''" th:attrappend="data-number=${entity['courierNumber']}" th:text="${entity['notDeliver']}==0?'未发货':'查看单号'"></span>
                            </aside>
                        </aside>
                    </section>
                </div>
            </a>
        </li>
        <li class="item-content mt5"  th:if="${entity['shopType'] eq 'VIRTUAL_GOODS'} ">
            <a href="javascript:;" class="course-info">
                <div class="item-media">
                    <div class="">
                        <img class="wm-img"  th:src="@{{path}/front/mobile/v3/img/integral/integra-goot.jpg?v={v}(path=${staticPath},v=${v})}" th:attrappend="data-src=${entity['integralGood']}!=null?${entity['integralGood']['imageMap']['mobileUrlMap']['large']}:''" width="120" alt="">
                    </div>
                </div>
                <div class="item-inner">
                    <section style="width: 100%">
                        <aside>
                            <span class="c-000 fs7" th:text="${entity['name']}">中国移动500元话费冲值兑换卡</span>
                        </aside>
                        <aside class="mt5 row no-gutter">
                            <aside class="col-66">
                                <span class="c-888 fs4" th:text="${#strings.substring(entity['createTime'],0,16)}">2019-10-22 12:22</span>
                            </aside>
                            <aside class="col-33 text-right camilo" th:attrappend="data-id=${entity['shopIdReal']},data-name=${entity['name']}">
                                <span class="c-orange fs4">看卡密</span>
                            </aside>
                        </aside>
                    </section>
                </div>
            </a>
        </li>

    </th:block>

    </div>

</html>
